<div class="swiper-container">
    <div class="swiper-wrapper">
        <#list ads as ad>
            <div class="swiper-slide"><img src="/upload/ad/${ad.img}" alt=""></div>
        </#list>
        <div class="swiper-pagination"></div>
    </div>
    <script src="/static/swiper/swiper-bundle.min.js"></script>
    <script>
        let swiper = new Swiper('.swiper-container',{
            pagination: {
                el: '.swiper-pagination'
            },
            autoplay:true,
        });
    </script>